﻿INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libogg/include)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/include)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/lib)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/lib/modes)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/lib/books/coupled)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/lib/books/floor)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/lib/books/uncoupled)

add_library(CMP.Audio.VorbisOGG SHARED OggRead.cpp
			libogg/src/bitwise.c
			libogg/src/framing.c
			libvorbis/lib/analysis.c
			libvorbis/lib/bitrate.c
			libvorbis/lib/block.c
			libvorbis/lib/codebook.c
			libvorbis/lib/envelope.c
			libvorbis/lib/floor0.c
			libvorbis/lib/floor1.c
			libvorbis/lib/info.c
			libvorbis/lib/lookup.c
			libvorbis/lib/lpc.c
			libvorbis/lib/lsp.c
			libvorbis/lib/mapping0.c
			libvorbis/lib/mdct.c
			libvorbis/lib/psy.c
			libvorbis/lib/registry.c
			libvorbis/lib/res0.c
			libvorbis/lib/sharedbook.c
			libvorbis/lib/smallft.c
			libvorbis/lib/synthesis.c
			libvorbis/lib/vorbisenc.c
			libvorbis/lib/vorbisfile.c
			libvorbis/lib/window.c
)
